#define _CRT_SECURE_NO_WARNINGS
#pragma warning(disable:6031)

#include <iostream>
using std::cout;
using std::endl;

#include "chain.h"

void test()
{
	chain<int> c1;
	//c1.push_back(1);
	//c1.push_back(2);
	//c1.push_back(3);
	//c1.push_back(4);
	//c1.push_back(5);
	
	c1.show();
	c1.reverse_recursion(c1.get_head());
	c1.show();

	//c1.reverse();
	//c1.show();

	//c1.set(1, 6);
	//c1.show();
	/*c1.set(5, 8);
	c1.show();*/

	/*chain<int> c2;
	c2.push_back(6);
	c2.push_back(7);
	c2.push_back(8);
	c2.show();

	chain<int> c3 = c1.meld(c2);
	c3.show();*/

}

int main()
{
	test();

	return 0;
}